package com.aidex.system.mapper;

import com.aidex.system.domain.SysDictData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface SysDictDataMapper extends BaseMapper<SysDictData> {
    @Select("select max(a.dict_sort) from sys_dict_data a where a.del_flag = 0 and a.dict_type = #{dictType}")
    Integer findMaxSort(@Param("dictType") String dictType);
}
